From 432b2c403e0d448cd8103d7c0893d020975f93b3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 29 Oct 2010 10:19:30 +0100 Subject: [PATCH] credit2: Make fake runq map initilization explicit Signed-off-by: George Dunlap --- xen/common/sched_credit2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 0bf81c9d4c..0735f3b217 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -1135,6 +1135,7 @@ make_runq_map(struct csched_private *prv) prv->runq_count = 1; prv->rqd[0].cpu_min = 0; prv->rqd[0].cpu_max = NR_CPUS; + memset(prv->runq_map, 0, sizeof(prv->runq_map)); } static int -- 2.30.2